package com.shao.scanner;

import java.util.Scanner;

public class scanner03 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入数据");
        String str=scanner.nextLine();
        System.out.println("输入的数据是："+str);
scanner.close();
    }

}
